From d408f4f80670ed7f73d09f8ccfefdcb8a7835406 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 27 Aug 2023 21:56:25 +0100 Subject: Add Patio code gen for loop instructions --- ...g.compiler.testing.snapshots.Snapshotter)].expected | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..b48157df --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,18 @@ +Compilation unit elements: + + +Locals: + * (val "tmp__0" int) + +Instructions: + +( + ( + loop + ( + (local-store (local "tmp__0") (int 1)) + ) + ) +) + +Temporary stack: -- cgit v1.2.3